package org.dcarew.samplemodel.model;

import org.dcarew.model.annotations.Property;

public abstract class PrintedElement
	extends SampleModelElement
{
	private Author 	author;
	
	@Property(name="author")
	public Author getAuthor()
	{
		return author;
	}
	
	public void setAuthor(Author author)
	{
		this.author = author;
	}
	
	@Property(name="publisher")
	public String getPublisher()
	{
		return getPropertyValueString("publisher");
	}
	
	public void setPublisher(String publisher)
	{
		setPropertyValue("publisher", publisher);
	}
	
//	@Property
//	public int getYearPublished()
//	{
//		return getPropertyValue("yearPublished");
//	}
//	
//	public void setYearPublished(int yearPublished)
//	{
//		setProperty("yearPublished", yearPublished);
//	}
	
}
